package com.chixing.day06_static.singleton;

public class Bank2 {
    private static Bank2 bank = null;
    private Bank2(){}

    public static Bank2 getBank() {
        if (bank==null){
            bank = new Bank2();
        }
        return bank;
    }
}
